home *** CD-ROM | disk | FTP | other *** search
- Path: oxy.rust.net!usenet
- From: Neil <neil@aol2.com>
- Newsgroups: comp.lang.c++
- Subject: Re: HELP: How To Implement A Registration Period?
- Date: Sun, 10 Mar 1996 11:56:13 -0500
- Organization: None
- Message-ID: <314309AD.10E3@aol2.com>
- References: <Do0IKt.F8H@intruder.daytonoh.attgis.com>
- NNTP-Posting-Host: liv-27.rust.net
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
-
- Jeff,
-
- Well, since I'm not C++ master, I can only give you theory
- on registration expiration dates. Here is a quick pseudo-
- flow of how the program will run the FIRST TIME:
-
- 1) Program executed
- 2) Check to see if installed before (date/hidden codes
- in three different locations)
- 3) If NO -- write date/hidden codes to the three different
- locations with current date.
- (GO TO MAIN PROGRAM PROCEDURE)
-
- 3b)If YES (installed before) VERIFY ALL THREE DATES/HIDDEN
- CODES are EXACTLY THE SAME.
-
- 4) If ALL three NOT the same (GO TO (EXIT) PROCEDURE TO
- boot them out)
-
- 4b) If ALL THE SAME, COMPARE TO CURRENT DATE..
-
- 5) If difference between CURRENT DATE & HIDDEN DATE
- then they either changed the date BACKWARDS on their
- system, or they figured out your date hiding scheme.
- (GO TO (EXIT) PROCEDURE TO boot them out)
-
- 5b) If difference between CURRENT DATE & HIDDEN DATE
- is less than or eq to zer0, (GO TO (EXIT) PROCEDURE
- TO boot them out)
-
- I'd love to code this for you, but I am currently working
- on other C++/CGI apps right now.. <smile> Take care.
-
- Neil
- mailto:neil@aol2.com
-